<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <link href="/static/houtai/css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/static/houtai/js/jquery-3.0.0.min.js"></script>
    <script type="text/javascript" src="/static/houtai/commons/common.js"></script>

    <script src="/static/houtai/jquery.js"></script>
    <script src="/static/houtai/jquery.form.min.js"></script>
    <script src="/static/houtai/js/uploadPreview.js"></script>

</head>
<?php include "functionsession.php";?>
<body>
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">奖章添加</a></li>
    </ul>
</div>
<div class="formbody">
    <div class="formtitle"><span>奖章兑换</span></div>


    <form action="/redeemCode/create8Code" method="post">
    <ul class="forminfo">
          <li><label>&nbsp;</label><input type="submit" class="btn"  value="获得奖章兑换码"/></li>
          <li><label>奖章兑换码：</label><input  type="text" class="dfinput"  value="${redeemCode.code}"/></li>
    </ul>
    </form>

<br><br>
    <form action="/redeemCode/addRedeemCode" method="post">
        <ul class="forminfo">
            <li style="display:none"><label>奖章兑换码：</label><input  type="text" name="code"  id="code" class="dfinput"  value="${redeemCode.code}"/></li>
            <li><label>奖章个数：</label><input  type="number"name="count" class="dfinput"  min="1"   /></li>
            <li><label>&nbsp;</label><input type="submit" class="btn"  value="确定"/></li>
        </ul>
    </form>
</div>

</body>
<script type="text/javascript">
    $(function(){
        $("#btn").click(function(){
            alert("奖章兑换码获得成功！");
        });
    });
</script>

<%@ include file="foot.jsp"%>

